﻿namespace Traffic.Entity;

/// <summary>
/// 机票改班订单
/// </summary>
public partial class FlightOrderListChangeOrder
{
    public int Id { get; set; }

    /// <summary>
    /// 主机票订单ID，对应FlightOrderList.ID
    /// </summary>
    public int OrderId { get; set; }

    /// <summary>
    /// 对应FlightOrderList.OrderNum
    /// </summary>
    public string FromOrderNum { get; set; } = null!;

    /// <summary>
    /// 变更单号  FC+yyyyMMddHHmm+UserID
    /// </summary>
    public string OrderNum { get; set; } = null!;

    public string? ApiChangeOrderNum { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreateDate { get; set; }

    /// <summary>
    /// 申请变更时间
    /// </summary>
    public DateTime? ApplyChangeTime { get; set; }

    /// <summary>
    /// 补款金额
    /// </summary>
    public decimal? ChangePrice { get; set; }

    /// <summary>
    /// 变更类型1-改期，2-升舱
    /// </summary>
    public int ChangeType { get; set; }

    /// <summary>
    /// 变更状态：1.处理中,2.处理中(待确认补款金额),3.需补款,4.已补款,5.改签成功,6.改签失败,7.已取消
    /// </summary>
    public int ChangeStatus { get; set; }

    /// <summary>
    /// 接口反馈数据
    /// </summary>
    public string? ApiData { get; set; }
}
